import axios from 'axios'
const instance = axios.create({
  baseURL: 'http://project.x-zd.net:3001/apis',
  timeout: 3000
})
instance.interceptors.response.use(
  (res) => {
    return res.data
  },
  (error) => {
    return Promise.reject(error)
  }
)
export default instance
